import request from '@/utils/request'

// 获取活动业绩总额
export function getActivityPerformance(token, data) {
  return request({
    url: 'order/order/activity_total',
    method: 'post',
    params: { token },
    data
  })
}

// 获取店铺业绩总额
export function getStorePerformance(token, data) {
  return request({
    url: 'order/order/store_total',
    method: 'post',
    params: { token },
    data
  })
}

// 获取用户个人业绩总额
export function getCustomerPerformance(token, data) {
  return request({
    url: 'order/order/actual_total',
    method: 'post',
    params: { token },
    data
  })
}

